﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using System.Data;
using CRM.Entity.Extra;
using CRM.Entity.Page;
using CRM.Entity;

namespace CRM.Index.IProvider
{
    
    public partial interface IProviderService
    {
        [OperationContract]
        bool ArticleType_Insert(ArticleType articleType);

        [OperationContract]
        bool ArticleType_Update(ArticleType articleType);

        [OperationContract]
        bool ArticleType_Delete(ArticleType articleType);

        [OperationContract]
        ArticleType ArticleType_Single(Int64 id);
        
        [OperationContract]
        ArticleTypePage ArticleType_Top(int top);

        [OperationContract]
        ArticleTypePage ArticleType_Page(PageInfo info);
        
        [OperationContract]
        ArticleTypeExtraPage ArticleTypeExtra_Page(PageInfo info);
    }
}
